﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AdminCondominio.Negocio;
using AdminCondominio.Dominio;

namespace AdminCondominio.Controllers
{
    public class MorososController : Controller
    {
        //
        // GET: /Morosos/
        public MorosoService morosoService { get; set; }

        public ActionResult Index()
        {

            ICollection<Cuota> morosos = morosoService.listarMorosos();


            return View(morosos);
        }

    }
}
